//
//  CLtitleCollectionCell.m
//  I-want-go
//
//  Created by dllo on 15/10/26.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "CLtitleCollectionCell.h"
#import "CLscreen.h"
@implementation CLtitleCollectionCell

- (void)dealloc {
    [_picImage release];
    [_myLabel release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.picImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 5 * SHEIGHT, 70 * SWIDTH, 60 * SHEIGHT)];
        self.picImage.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.picImage];
        [_picImage release];
        
        self.myLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 65 * SHEIGHT, 80 * SWIDTH, 20 * SHEIGHT)];
        self.myLabel.textAlignment = NSTextAlignmentCenter;
        self.myLabel.backgroundColor = [UIColor whiteColor];
        [self.contentView addSubview:self.myLabel];
        [_myLabel release];
    }
    return self;
}



@end
